<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>白菜价</title>
    <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
    <script src="../untils/flexible.js"></script>
    <link rel="stylesheet" href="../css/base.css">
    <link rel="stylesheet" href="../css/cheap.css">
    <script src="../untils/queryString.js"></script>
</head>
<body>
    <div class="header">
        <p id="ret"><</p>
        <h3 id="tit">白菜价-淘宝内部优惠卷</h3>
        <img class="app" src="../assets/images/header_app.png" alt="">
    </div>
    <script>
        $("#ret").click(function(){
            window.history.back();
        })
    </script>
    <div class="nav_cheap">
        <ul class="tab">
        </ul>
    </div>

    <script>
        let html="";
        $.ajax({
            url:"http://chst.vip:1234/api/getbaicaijiatitle"
        }).then(res=>{
            let{result}=res;
            result.forEach(item => {
                html+=`
                <li>${item.title}</li>
                `
            });
            $(".tab").html(html);
        })
        function drag(obj){
            obj.onmousedown=function(e){
                e=e||window.e;
                var ol=e.clientX-obj.offsetLeft;  
                document.onmousemove=function(e){  
                    var left=e.clientX-ol;
                    obj.style.left=left+"px";
                };
                document.onmouseup=function(e){
                    document.onmousemove=null;
                    document.onmouseup=null;
                };
            }
        }
    </script>
    <div class="shoplist">

    </div>
    <script>
        let shopHtml=""
        $.ajax({
          url:"http://chst.vip:1234/api/getbaicaijiaproduct" ,
          data:{
              titleid
          }
        }).then(res=>{
            
        })
    </script>
    <div class="foot">
        <div class="more">
            <a href="#">更多优惠信息>></a>
        </div>
        <div class="brand">
            <p>品牌排行</p>
        </div>
        <ul>
            <li>登入</li>
            <li>注册</li>
            <li class="goTop">返回顶部</li>
        </ul>
        <script>
            $(window).scroll(function(){
                let scrollTop=$(window).scrollTop();
            })
            $(".goTop").on("click",function(){
                $("html").animate({
                    scrollTop:0
                },100)
            })
        </script>
        <p id="p1"><span class="span1">手机APP下载 </span> 慢慢买手机版 <span class="span2">--掌上比价平台</span></p>
        <p id="p2">m.manmanbuy.com</p>
    </div>
</body>

</html>